package com.kodandroid.commons;

import java.text.DecimalFormat;
import java.text.NumberFormat;

public class Price {
	private double price;
	
	public Price (double price) {
		this.price = price;
	}
	
	public void setPrice(double price) {
		this.price = price;
	}
	
	public double getPrice() {
		return this.price;
	}
	
	public String toString() {
	    NumberFormat formatter = new DecimalFormat("#0.00");  
	    return formatter.format(price);  
	}
}